package com.bgs.mapper;

import com.bgs.pojo.Menus;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bgs.pojo.RolesMenus;
import com.bgs.pojo.vo.FourMenus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 导航表 Mapper 接口
 * </p>
 *
 * @author Asia
 * @since 2021-09-14
 */
public interface MenusMapper extends BaseMapper<Menus> {
    List<Menus> findMenu();

    List<FourMenus> findMenu1();

    //修改权限
    Integer fourEditMenu(@Param("roleId") Integer roleId,@Param("list") List<RolesMenus> list);
}
